package cn.lny.org.service;

import cn.lny.basic.PageList;
import cn.lny.org.domain.Department;
import cn.lny.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService {
    void add(Department department);
    void delete(Long id);
    void update(Department department);
    Department queryOne(Long id);
    List<Department> queryAll();
    PageList<Department> queryDate(DepartmentQuery departmentQuery);
}
